import { EggPlugin } from "egg";

const plugin: EggPlugin = {
  // socket.io
  io: {
    enable: true,
    package: "egg-socket.io",
  },

  // redis模块
  redis: {
    enable: true,
    package: "egg-redis",
  },
  validate: {
    enable: true,
    package: "egg-validate",
  },
};

export default plugin;
